<?php
/**
 * File: Order.php
 * User: Mr.Yang
 * Date: 2025/4/2 0002
 * Time: 10:18
 * Note:
 */

namespace app\home\validate;

use think\Validate;

class Order extends Validate
{
    protected $rule = [
        'cartid' => 'require',
        'address_id' => 'require',
        'payword' => 'require',
        'captcha' => 'require',
    ];

    protected $message = [
        'cartid.require' => '购物车不能为空',
        'address_id.require' => '地址不能为空',
        'payword.require' => '支付密码不能为空',
        'captcha.require' => '验证码不能为空',
    ];
}